
.content{
  background: #fff;
  border-radius: 20px;
  width: 500px;
  height: 516px;
  margin: auto;
  padding: 30px;
  position: relative;
  text-align: center;
  .closeIcon{
    font-size: 50px;
    color: #ccc;
    text-align: left;
  }
}

@keyframes popupInUp {
  0%,60%,75%,90%,to {
    animation-timing-function: cubic-bezier(.215,.61,.355,1);
  }

  0% {
    opacity: 0;
    transform: translate3d(-50%, 750vh, 0);
  }

  60% {
    opacity: 1;
    transform: translate3d(-50%, calc(-50% - 20px), 0);
  }

  75% {
    transform: translate3d(-50%, calc(-50% + 10px), 0);
  }

  90% {
    transform: translate3d(-50%, calc(-50% - 5px), 0);
  }

  to {
    transform: translate3d(-50%, -50%, 0);
  }
}

.overlay{
  z-index: $fy-popup-zIndex;
}

.popup{
  top: 50%;
  left: 50%;
  width: 84vw;
  display: none;
  z-index: $fy-popup-zIndex;
  position: fixed;
  transform: translate3d(-50%, -50%, 0);

  &InUp {
    display: flex;
    animation: popupInUp 1s both;
  }
}
